package com.dingli.framework.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


@Data
@ApiModel("银行卡/账户表")
public class Card {

    @ApiModelProperty("卡ID")
    private Integer cardId;

    @ApiModelProperty("交易密码")
    private Integer password;

    @ApiModelProperty("余额")
    private double balance;

    @ApiModelProperty("卡类型：0-储蓄卡，1-信用卡")
    private Integer type;

    @ApiModelProperty("额度（信用卡)")
    private double qutoa;

    @ApiModelProperty("账单日(信用卡)")
    private Integer billDay;

    @ApiModelProperty("开卡时间")
    private Date createTime;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("银行ID")
    private Integer bankId;

    @ApiModelProperty("卡状态：0-正常，-1-冻结")
    private Integer cardStatus;

}
